//
//  SubTypeItemModel.m
//  PublicInfo
//
//  Created by enghou on 2018/1/25.
//  Copyright © 2018年 xyxorigation. All rights reserved.
//

#import "SubTypeItemModel.h"

@implementation SubTypeItemModel

-(instancetype)initWithSource:(NSDictionary *)source{
    self = [super initWithSource:source];
    if (self) {
        self.subTid = [self contentForKey:@"typeId" withSource:source];
        self.name = [self contentForKey:@"typeName" withSource:source];
        
        self.parentId = [self contentForKey:@"domainId" withSource:source];
    }
    return self;
}

@end
